package com.haredot.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Role implements Serializable {
    @Serial
    private static final long serialVersionUID = 2039591469916971740L;

    private Long id;

    /**
    * 角色名
    */
    private String name;

    /**
    * 角色标识
    */
    private String remark;

    /**
    * 角色描述
    */
    private String description;

    /**
    * 是否是默认角色
    */
    private Boolean defaultRole;

    /**
    * 角色状态
    */
    private Boolean state;

    /**
    * 录入时间
    */
    private LocalDateTime createTime;

    /**
    * 修改时间
    */
    private LocalDateTime updateTime;

    /**
    * 删除标记
    */
    private Boolean del;
}